﻿using System;
using System.ComponentModel;

using SBPweb.RIA.Shared.Contracts.Events;
using SBPweb.RIA.Shared.Contracts.Logging;

using SBPweb.RIA.Server.Logging.Log4Net;

namespace SBPweb.PROvibe.Server.Core.Events
{

    public static class LogEventsManager
    {

        public static ILogManager CreateLogManagerInstance()
        {
            Type type = typeof(LogEventsManager);
            ILogManager logManager = new LogManager(type.Assembly, type);

            logManager.Initializing += new EventHandler<CancelEventArgs>(logManager_Initializing);
            logManager.Initialized += new EventHandler(logManager_Initialized);

            return logManager;
        }

        private static void logManager_Initializing(object sender, CancelEventArgs e)
        {            
        }

        private static void logManager_Initialized(object sender, EventArgs e)
        {
        }

    }

}